package xyz.cerberu.cet.user.domain;

import java.io.Serializable;

/**
 * @Name β世界
 * Created on 15:08
 * @Description 用户等级实体
 */
public class Role implements Serializable {

    /** 角色ID **/
    private int rid;
    /** 角色信息 **/
    private String role;

    public Role() {
    }

    public Role(int rid){
        this.rid = rid;
    }

    public Role(int rid, String role) {
        this.rid = rid;
        this.role = role;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public int getRid() {
        return rid;
    }

    public String getRole() {
        return role;
    }

    @Override
    public String toString() {
        return "Role{" +
                "rid=" + rid +
                ", role='" + role + '\'' +
                '}';
    }
}
